export default {
	getPageList() {
		let that = this
		that.$httpRequest.request({
			that: that,
			url: 'wechat/getMyCouponList',
			method: 'get',
			params: {
				page: that.page,
				list_rows: that.list_rows,
			},
			success: res => {
				if (res.code === that.$httpConfig.SUCCESS_CODE) {
					if (that.page === 1) {
						that.list = res.data.rows
					} else {
						that.list = that.list.concat(res.data.rows)
					}
					that.page++
				}
			}
		})
	},
}